package com.alks.function.data.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;

@Getter
@Setter
@NoArgsConstructor
public class MaterialOutDto {

    //领料类型
    private String slipType;

    //指令
    private String lotNo;

    //部门名称
    private String deptName;

    //领料单号
    private String slipNo;

    //领料日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate slipDate;

    //物料编码
    private String mtlNo;

    //材料颜色
    private String mtlColor;

    //材料名称
    private String mtlName;

    //规格
    private String mtlSpec;

    //单位
    private String mtlUnit;

    //请领量
    private BigDecimal reqQty;

    //已发实量
    private BigDecimal actQty;

    //补料单号
    private String supplementNo;

    //备注
    private String remark;

    private double price;
    private double amt;
}
